package br.iesb.util;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class JSONFileFilter extends FileFilter {

	@Override
	public boolean accept(File file) {
		return file.getName().toLowerCase().endsWith(".json");
	}

	@Override
	public String getDescription() {
		return "Arquivo JSON";
	}
	
}
